package com.john.elasticsearch.common;

/**
 * 操作类型
 */
public enum ConType {
    EQ("EQ","类似于数据库=等于操作"),
    NOTEQ("NOTEQ","类似于数据库!=不等于"),
    LIKE("LIKE","类似于数据库like等于操作"),
    BETWEEN("BETWEEN","类似于数据库大于小于")
    ;
    private String conType;
    private String note;

    ConType(String conType, String note) {
        this.conType = conType;
        this.note = note;
    }

    public String getConType() {
        return conType;
    }

    public String getNote() {
        return note;
    }
}
